﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000E7B RID: 3707
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueBuffRerollResult : IMessage<RogueBuffRerollResult>, IMessage, IEquatable<RogueBuffRerollResult>, IDeepCloneable<RogueBuffRerollResult>, IBufferMessage
	{
		// Token: 0x17002F07 RID: 12039
		// (get) Token: 0x0600A641 RID: 42561 RVA: 0x001BF61F File Offset: 0x001BD81F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueBuffRerollResult> Parser
		{
			get
			{
				return RogueBuffRerollResult._parser;
			}
		}

		// Token: 0x17002F08 RID: 12040
		// (get) Token: 0x0600A642 RID: 42562 RVA: 0x001BF626 File Offset: 0x001BD826
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueBuffRerollResultReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002F09 RID: 12041
		// (get) Token: 0x0600A643 RID: 42563 RVA: 0x001BF638 File Offset: 0x001BD838
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueBuffRerollResult.Descriptor;
			}
		}

		// Token: 0x0600A644 RID: 42564 RVA: 0x001BF63F File Offset: 0x001BD83F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueBuffRerollResult()
		{
		}

		// Token: 0x0600A645 RID: 42565 RVA: 0x001BF647 File Offset: 0x001BD847
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueBuffRerollResult(RogueBuffRerollResult other) : this()
		{
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600A646 RID: 42566 RVA: 0x001BF660 File Offset: 0x001BD860
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueBuffRerollResult Clone()
		{
			return new RogueBuffRerollResult(this);
		}

		// Token: 0x0600A647 RID: 42567 RVA: 0x001BF668 File Offset: 0x001BD868
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueBuffRerollResult);
		}

		// Token: 0x0600A648 RID: 42568 RVA: 0x001BF676 File Offset: 0x001BD876
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueBuffRerollResult other)
		{
			return other != null && (other == this || object.Equals(this._unknownFields, other._unknownFields));
		}

		// Token: 0x0600A649 RID: 42569 RVA: 0x001BF694 File Offset: 0x001BD894
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600A64A RID: 42570 RVA: 0x001BF6BA File Offset: 0x001BD8BA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600A64B RID: 42571 RVA: 0x001BF6C2 File Offset: 0x001BD8C2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600A64C RID: 42572 RVA: 0x001BF6CB File Offset: 0x001BD8CB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600A64D RID: 42573 RVA: 0x001BF6E4 File Offset: 0x001BD8E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600A64E RID: 42574 RVA: 0x001BF70A File Offset: 0x001BD90A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueBuffRerollResult other)
		{
			if (other == null)
			{
				return;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600A64F RID: 42575 RVA: 0x001BF727 File Offset: 0x001BD927
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600A650 RID: 42576 RVA: 0x001BF730 File Offset: 0x001BD930
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			while (input.ReadTag() != 0U)
			{
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04004385 RID: 17285
		private static readonly MessageParser<RogueBuffRerollResult> _parser = new MessageParser<RogueBuffRerollResult>(() => new RogueBuffRerollResult());

		// Token: 0x04004386 RID: 17286
		private UnknownFieldSet _unknownFields;
	}
}
